[Top] [Prev] [Next] [Bottom]
[Contents]
SaIncludeHtml
A data site callback function which will insert HTML text from a file whenever the specified data site is played in the HTML template.
#include "SaRnHtml.h"
void SaIncludeHtml(char* filename, char* site, void* client);
Arguments
- filename
- A string specifying the filepath name of an HTML template file. If non-null and not an empty string, this file will be "played", if it is not already on the "play" list. If NULL or an empty string, the site will still be registered, but can be overridden by a similar site name with a specified filename.
- site
- A string specifying the site name to register the site function callback on.
- client
- This is the client data that is passed into the site callback function. This pointer should not be free'd after site function registration. The argument is type cast to a string. The string specifies the filepath name of the file to read. The current directory will be the HTML file directory for the project.
Return Values
None.
A data site callback function which will insert HTML text from a file whenever the specified data site is played in the HTML template.
SaIncludeHtml(NULL, "COMPANY_LOGO", "company_log.html");
See Also
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.